package com.eastfair.venueservice.service;

import com.eastfair.boot.service.SuperService;
import com.eastfair.venueservice.dto.ServiceInventoryCheckDetailDTO;
import com.eastfair.venueservice.entity.ServiceInventoryCheck;
import com.eastfair.venueservice.entity.ServiceInventoryCheckDetail;
import com.eastfair.venueservice.vo.ServiceInventoryCheckDetailVO;

import java.util.List;

/**
 * <p>
 * 业务接口
 * 盘点记录明细
 * </p>
 *
 * @author linan
 * @date 2022-09-19
 */
public interface ServiceInventoryCheckDetailService extends SuperService<ServiceInventoryCheckDetail> {
    /**
     * do转vo
     *
     * @param model
     */
    ServiceInventoryCheckDetailVO doToVo(ServiceInventoryCheckDetail model);

    /**
     * do转vo
     *
     * @param modelList
     */
    List<ServiceInventoryCheckDetailVO> doToVos(List<ServiceInventoryCheckDetail> modelList);


    /**
     * 通用查询
     *
     * @param modelDTO DTO
     * @param ids      主键id集合
     * @return list
     */
    List<ServiceInventoryCheckDetail> list(ServiceInventoryCheckDetailDTO modelDTO, List<Long> ids);

    /**
     * 通用查询
     *
     * @param modelDTO DTO
     * @param ids      主键id集合
     * @return list
     */
    List<ServiceInventoryCheckDetail> listOfCache(ServiceInventoryCheckDetailDTO modelDTO, List<Long> ids);

    /**
     * 查询盘点记录
     * @param serviceInventoryCheck
     * @return
     */
    List<ServiceInventoryCheckDetailVO> queryCheckDetailList(ServiceInventoryCheck serviceInventoryCheck);
}
